projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
470d004
)
(PTY_OPEN): Block SIGCHLD during openpty.
author
Karl Heuer
<kwzh@gnu.org>
Wed, 13 Dec 1995 02:02:17 +0000
(
02:02
+0000)
committer
Karl Heuer
<kwzh@gnu.org>
Wed, 13 Dec 1995 02:02:17 +0000
(
02:02
+0000)
src/m/alpha.h
patch
|
blob
|
history
diff --git
a/src/m/alpha.h
b/src/m/alpha.h
index ef070198e80069f664324771aca0e7e355847e88..d113f8f32eb49389dc01a73a06764fc01309602b 100644
(file)
--- a/
src/m/alpha.h
+++ b/
src/m/alpha.h
@@
-266,8
+266,11
@@
extern void r_alloc_free ();
do \
{ \
int dummy; \
+ SIGMASKTYPE mask; \
+ mask = sigblockx (SIGCHLD); \
if (-1 == openpty (&fd, &dummy, pty_name, 0, 0)) \
fd = -1; \
+ sigsetmask (mask); \
close (dummy); \
} \
while (0)